package org.zfes.snowier.cloud.zbss.metting.biz.model;
import java.util.Date;

import org.zfes.snowier.common.dao.IBaseModel;
public class TenantMember extends IBaseModel{

	private static final long serialVersionUID = 1L;
	
	public TenantMember() {}
	public TenantMember(Long id) {
		this.setId(id);
	}
	//<-------------------------------------------->
	

	  public TenantMember(Long tenantId, Byte roleInTenant, String account, String nickName, String perName,
				String idCard, String phone, String email, String userLogo, Date createTime, Date updateTime, Byte status,
				Byte userAge, Byte userGender, String userAddress, Byte userLevel, Long userBalance) {
			super();
			this.tenantId = tenantId;
			this.roleInTenant = roleInTenant;
			this.account = account;
			this.nickName = nickName;
			this.perName = perName;
			this.idCard = idCard;
			this.phone = phone;
			this.email = email;
			this.userLogo = userLogo;
			this.createTime = createTime;
			this.updateTime = updateTime;
			this.status = status;
			this.userAge = userAge;
			this.userGender = userGender;
			this.userAddress = userAddress;
			this.userLevel = userLevel;
			this.userBalance = userBalance;
		}


	  private java.lang.Long tenantId;
	


	private java.lang.Byte roleInTenant;
 
	@javax.validation.constraints.NotBlank(message="账号不能为空")
	@javax.validation.constraints.NotNull(message="账号不能为空")
	@org.hibernate.validator.constraints.Length(min=0,max=50,message="账号长度不能大于50")
	  private java.lang.String account;
 
	@org.hibernate.validator.constraints.Length(min=0,max=50,message="昵称长度不能大于50")
	  private java.lang.String nickName;
 
	@javax.validation.constraints.NotBlank(message="用户姓名不能为空")
	@javax.validation.constraints.NotNull(message="用户姓名不能为空")
	@org.hibernate.validator.constraints.Length(min=0,max=50,message="用户姓名长度不能大于50")
	  private java.lang.String perName;
 
	@org.hibernate.validator.constraints.Length(min=0,max=50,message="身份证号长度不能大于50")
	  private java.lang.String idCard;
 
	@javax.validation.constraints.NotBlank(message="手机号不能为空")
	@javax.validation.constraints.NotNull(message="手机号不能为空")
	@org.hibernate.validator.constraints.Length(min=0,max=30,message="手机号长度不能大于30")
	  private java.lang.String phone;
 
	@javax.validation.constraints.NotBlank(message="邮箱不能为空")
	@javax.validation.constraints.NotNull(message="邮箱不能为空")
	@org.hibernate.validator.constraints.Length(min=0,max=50,message="邮箱长度不能大于50")
	  private java.lang.String email;
 
	@org.hibernate.validator.constraints.Length(min=0,max=255,message="头像长度不能大于255")
	  private java.lang.String userLogo;
 

	  private java.util.Date createTime;
 

	  private java.util.Date updateTime;
 

	  private java.lang.Byte status;
 

	  private java.lang.Byte userAge;
 

	  private java.lang.Byte userGender;
 
	@org.hibernate.validator.constraints.Length(min=0,max=255,message="地址长度不能大于255")
	  private java.lang.String userAddress;
 

	  private java.lang.Byte userLevel;
 

	  private java.lang.Long userBalance;
 
	
	//<-------------------------------------------->
	public TenantMember setTenantId(java.lang.Long tenantId){
	 this.tenantId=tenantId;
	 return this;
	}
	public java.lang.Long getTenantId(){
		return this.tenantId;
	}
	public TenantMember setRoleInTenant(java.lang.Byte roleInTenant){
	 this.roleInTenant=roleInTenant;
	 return this;
	}
	public java.lang.Byte getRoleInTenant(){
		return this.roleInTenant;
	}
	public TenantMember setAccount(java.lang.String account){
		this.account=account==null?null:account.trim();
	 return this;
	}
	public java.lang.String getAccount(){
		return this.account;
	}
	public TenantMember setNickName(java.lang.String nickName){
		this.nickName=nickName==null?null:nickName.trim();
	 return this;
	}
	public java.lang.String getNickName(){
		return this.nickName;
	}
	
	public java.lang.String getPerName() {
		return perName;
	}
	public TenantMember setPerName(java.lang.String perName) {
		this.perName=perName==null?null:perName.trim();
		 return this;
	}
	public TenantMember setIdCard(java.lang.String idCard){
		this.idCard=idCard==null?null:idCard.trim();
	 return this;
	}
	public java.lang.String getIdCard(){
		return this.idCard;
	}
	public TenantMember setPhone(java.lang.String phone){
		this.phone=phone==null?null:phone.trim();
	 return this;
	}
	public java.lang.String getPhone(){
		return this.phone;
	}
	public TenantMember setEmail(java.lang.String email){
		this.email=email==null?null:email.trim();
	 return this;
	}
	public java.lang.String getEmail(){
		return this.email;
	}
	public TenantMember setUserLogo(java.lang.String userLogo){
		this.userLogo=userLogo==null?null:userLogo.trim();
	 return this;
	}
	public java.lang.String getUserLogo(){
		return this.userLogo;
	}
	public TenantMember setCreateTime(java.util.Date createTime){
	 this.createTime=createTime;
	 return this;
	}
	public java.util.Date getCreateTime(){
		return this.createTime;
	}
	public TenantMember setUpdateTime(java.util.Date updateTime){
	 this.updateTime=updateTime;
	 return this;
	}
	public java.util.Date getUpdateTime(){
		return this.updateTime;
	}
	public TenantMember setStatus(java.lang.Byte status){
	 this.status=status;
	 return this;
	}
	public java.lang.Byte getStatus(){
		return this.status;
	}
	public TenantMember setUserAge(java.lang.Byte userAge){
	 this.userAge=userAge;
	 return this;
	}
	public java.lang.Byte getUserAge(){
		return this.userAge;
	}
	public TenantMember setUserGender(java.lang.Byte userGender){
	 this.userGender=userGender;
	 return this;
	}
	public java.lang.Byte getUserGender(){
		return this.userGender;
	}
	public TenantMember setUserAddress(java.lang.String userAddress){
		this.userAddress=userAddress==null?null:userAddress.trim();
	 return this;
	}
	public java.lang.String getUserAddress(){
		return this.userAddress;
	}
	public TenantMember setUserLevel(java.lang.Byte userLevel){
	 this.userLevel=userLevel;
	 return this;
	}
	public java.lang.Byte getUserLevel(){
		return this.userLevel;
	}
	public TenantMember setUserBalance(java.lang.Long userBalance){
	 this.userBalance=userBalance;
	 return this;
	}
	public java.lang.Long getUserBalance(){
		return this.userBalance;
	}

}
